﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="ReclamacoesMapa.aspx.cs" Inherits="Reclamacao_ReclamacoesMapa" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Assembly="GMaps" Namespace="Subgurim.Controles" TagPrefix="cc1" %>
<%@ Register Src="~/Controles/ReclamacaoLocalizacao.ascx" TagName="uctReclamacaoLocalizacao"
    TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentCenter" runat="Server">
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>
    <div>
        <h2>
            Reclamações por localização
        </h2>
    </div>
    <div class="opcoes_pesquisa">
        <div>
            <table>
                <tr>
                    <td>
                        <asp:TextBox ID="txtPesquisa" runat="server" Width="300px" MaxLength="100" />
                    </td>
                    <td>
                        <asp:Button ID="btnPesquisar" runat="server" Text="Pesquisar" SkinID="btnControleSkin"
                            OnClick="btnPesquisar_Click" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:RadioButtonList ID="rblMetodoPesquisa" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="descricao" Selected="True">Descrição</asp:ListItem>
                            <asp:ListItem Value="palavraChave">Palavra-Chave</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
            </table>
        </div>
        <div>
            <asp:Panel ID="frmOpcoesPesquisa" runat="server">
                <table>
                    <tr>
                        <td>
                            Período De &nbsp;
                            <asp:TextBox ID="txtDataInicial" runat="server" /><asp:Image ID="imgDataInicial"
                                runat="server" ImageUrl="~/App_Themes/SomTheme/imagens/calendario.png" />
                        </td>
                        <td>
                            a &nbsp;
                            <asp:TextBox ID="txtDataFinal" runat="server" /><asp:Image ID="imgDataFinal" runat="server"
                                ImageUrl="~/App_Themes/SomTheme/imagens/calendario.png" />
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            <asp:CalendarExtender ID="cleDataInicial" runat="server" TargetControlID="txtDataInicial"
                Format="dd/MM/yyyy" PopupButtonID="imgDataInicial" />
            <asp:CalendarExtender ID="cleDataFinal" runat="server" TargetControlID="txtDataFinal"
                Format="dd/MM/yyyy" PopupButtonID="imgDataFinal" />
            <asp:MaskedEditExtender ID="mkeDataInicial" runat="server" TargetControlID="txtDataInicial"
                Mask="99/99/9999" MaskType="Date" InputDirection="LeftToRight" />
            <asp:MaskedEditValidator ID="mkvDataInicial" runat="server" IsValidEmpty="true" TooltipMessage="*"
                ControlToValidate="txtDataInicial" ControlExtender="mkeDataInicial" />
            <asp:MaskedEditExtender ID="mkeDataFinal" runat="server" TargetControlID="txtDataFinal"
                Mask="99/99/9999" MaskType="Date" InputDirection="LeftToRight" />
            <asp:MaskedEditValidator ID="mkvDataFinal" runat="server" IsValidEmpty="true" TooltipMessage="*"
                ControlToValidate="txtDataFinal" ControlExtender="mkeDataFinal" />
        </div>
    </div>
    <div>
        <cc1:GMap ID="gMapa" runat="server" Width="100%" />
    </div>
</asp:Content>
